﻿<?xml version="1.0" encoding="utf-8"?>
<CodeSnippet Format="1.0.0" xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <Header>
    <Title>DevGridView</Title>
    <Author>jinlei</Author>
    <Shortcut>DevGridView</Shortcut>
    <Description>DevGridView</Description>
    <SnippetTypes>
      <SnippetType>SurroundsWith</SnippetType>
      <SnippetType>Expansion</SnippetType>
    </SnippetTypes>
  </Header>
  <Snippet>
    <Declarations>
      <Literal>
        <ID>DevGridView</ID>
        <Default>DevGridView</Default>
      </Literal>
    </Declarations>
    <Code Language="XML">
      <![CDATA[
            this.gv.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
            this.gv.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
            this.gv.OptionsBehavior.AllowFixedGroups = DevExpress.Utils.DefaultBoolean.False;
            this.gv.OptionsBehavior.AllowSortAnimation = DevExpress.Utils.DefaultBoolean.False;
            this.gv.OptionsView.EnableAppearanceEvenRow = true;
            this.gv.OptionsView.ShowFilterPanelMode = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.Never;
            this.gv.OptionsView.ShowGroupPanel = false;
			this.gv.OptionsView.ColumnAutoWidth = false;
            this.gv.IndicatorWidth = 45;
      ]]>
    </Code>
  </Snippet>
</CodeSnippet>